package com.ruoyi.front.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图片对象 s_image
 * 
 * @author jyp
 * @date 2021-07-22
 */
public class SImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一ID */
    private String id;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    /** 图片类型1：logo */
    @Excel(name = "图片类型1：logo")
    private Integer imgType;

    /** 关联ID */
    @Excel(name = "关联ID")
    private String infoId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setImgType(Integer imgType) 
    {
        this.imgType = imgType;
    }

    public Integer getImgType() 
    {
        return imgType;
    }
    public void setInfoId(String infoId) 
    {
        this.infoId = infoId;
    }

    public String getInfoId() 
    {
        return infoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgUrl", getImgUrl())
            .append("imgType", getImgType())
            .append("infoId", getInfoId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
